package com.ruoyi.project.shop.service.impl;


import com.ruoyi.project.shop.dao.ShopShopDao;
import com.ruoyi.project.shop.domain.ShopShopDO;
import com.ruoyi.project.shop.service.ShopShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ShopShopServiceImpl implements ShopShopService {
	@Autowired
	private ShopShopDao shopShopDao;
	
	@Override
	public ShopShopDO get(String id){
		return shopShopDao.get(id);
	}
	
	@Override
	public List<ShopShopDO> list(Map<String, Object> map){
		return shopShopDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopShopDao.count(map);
	}
	
	@Override
	public int save(ShopShopDO shopShop){
		return shopShopDao.save(shopShop);
	}
	
	@Override
	public int update(ShopShopDO shopShop){
		return shopShopDao.update(shopShop);
	}
	
	@Override
	public int remove(String id){
		return shopShopDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return shopShopDao.batchRemove(ids);
	}

    @Override
    public List<ShopShopDO> likeList(Map<String, Object> map){
        return shopShopDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return shopShopDao.likeListCount(map);
    }

    @Override
    public List<Map<String,Object>> findByName(Map<String, Object> map) {
		List<Map<String,Object>> shopList = shopShopDao.findByName(map);
		return shopList;

    }

}
